Skip to content

feat: add designs, fonts, video edits and media alt text - #45

Merged
alihesari merged 5 commits into
mainfrom
feature/create-suite
Nov 20, 2026
Merged

alihesari merged 5 commits into
mainfrom
feature/create-suite

Conversation

@alihesari

Copy link
Copy Markdown
Member

What changed

  • $client->designs(): list, create, get, update, delete, versions, restoreVersion, duplicate, export, bulk, posts, textToSlides, fromPost over /v1/designs. The design document passes through as a plain array (a stdClass keeps an empty object as {}).
  • $client->fonts(): list (library + workspace fonts), upload (multipart, from a path or bytes, same as media upload), delete.
  • $client->videoEdits(): ops, list, create with [{op, params}] operations, get. No poll helper, since the SDK has none for other jobs.
  • $client->media()->generateAltText($mediaId).
  • New models for each response; README, CHANGELOG and CLAUDE.md updated.

Not wrapped: GET /v1/fonts/{id}/file (binary stream) and ?format=json on GET /v1/media/{id}/file.

Tested

  • composer test: 268 tests pass, with unit tests per new method (path, method, body, response mapping, error mapping) through FakeTransport.
  • composer lint: clean.

Merge order

Merge after fopost/fopost#1523 is deployed.

List, create, get, update, delete, versions, restore, duplicate, export, bulk, posts,
text-to-slides and from-post over /v1/designs.
List the library and a workspace's fonts, upload one font file as multipart from a path or
bytes, and delete an uploaded font.
List the operations, list jobs, queue a job with [{op, params}] operations, and read one job.
@alihesari
alihesari merged commit cecd2a3 into main Nov 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant